<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<form id="classForm" style="overflow: hidden;">
	<input type="hidden" name="id" value="${cla.id }"/>
	<div class="form-item required">
		<label for="">班级名称</label>
		<input value="${cla.className }" data-options="required:true" type="text" class="easyui-textbox" name="className"/>
	</div>
	<div class="form-item required">
		<label for="">班级人数</label>
		<input value="${cla.num}" data-options="required:true" type="text" class="easyui-numberbox" name="num"/>
	</div>
	<div class="form-item">
		<label for="">班级类型</label>
		<label><input type="radio" ${empty cls || cla.classType == 'V3.0' ? 'checked' : '' } name="classType" value="V3.0"/>V3.0</label>
		<label><input type="radio" ${cla.classType == 'V3.1' ? 'checked': '' }  name="classType" value="V3.1"/> V3.1</label>
		<label><input type="radio" ${empty cls || cla.classType == '学霸班' ? 'checked' : '' } name="classType" value="学霸班"/> 学霸班</label>
		<label><input type="radio" ${empty cls || cla.classType == '任务制' ? 'checked' : '' } name="classType" value="任务制"/> 任务制</label>
	</div>
	<div class="form-item">
		<label for="">部门经理</label>
		<select name="student" data-options="value:'${cla.student.id}',panelHeight:'auto',editable:false"  class="easyui-combobox" style="width: 60%;">
			<c:choose>
				<c:when test="${empty stus}">
					<option  value="">暂无</option>
				</c:when>
				<c:otherwise>
					<c:forEach items="${stus}" var="s">
						<option  value="${s.id}">${s.name}</option>
					</c:forEach>
				</c:otherwise>
			</c:choose>
		</select>
	</div>
	<div class="form-item">
		<label for="">班主任</label>
		<select name="classTeacherEmp" data-options="value:'${cla.classTeacherEmp.id}',panelHeight:'auto',editable:false,required:true"  class="easyui-combobox" style="width: 60%;">
			<c:forEach items="${bzr}" var="bzr">
				<option  value="${bzr.tb_emp_id}">${bzr.emp_name}</option>
			</c:forEach>
		</select>
	</div>
	<div class="form-item ">
		<label for="">教员</label>
		<select name="teacherEmp" data-options="value:'${cla.teacherEmp.id}',panelHeight:'auto',editable:false,required:true"  class="easyui-combobox" style="width: 60%;">
			<c:forEach items="${jy}" var="jy">
				<option value="${jy.tb_emp_id}">${jy.emp_name}</option>
			</c:forEach>
		</select>
	</div>
</form>